package com.gym.system.appointment.service;

import java.util.List;
import com.gym.system.appointment.domain.GymAppointment;

/**
 * 预约Service接口
 * 
 * @author administrator
 * @date 2021-04-11
 */
public interface IGymAppointmentService 
{
    /**
     * 查询预约
     * 
     * @param id 预约ID
     * @return 预约
     */
    public GymAppointment selectGymAppointmentById(Long id);

    /**
     * 查询预约列表
     * 
     * @param gymAppointment 预约
     * @return 预约集合
     */
    public List<GymAppointment> selectGymAppointmentList(GymAppointment gymAppointment);

    /**
     * 新增预约
     * 
     * @param gymAppointment 预约
     * @return 结果
     */
    public int insertGymAppointment(GymAppointment gymAppointment);

    /**
     * 修改预约
     * 
     * @param gymAppointment 预约
     * @return 结果
     */
    public int updateGymAppointment(GymAppointment gymAppointment);

    /**
     * 批量删除预约
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteGymAppointmentByIds(String ids);

    /**
     * 删除预约信息
     * 
     * @param id 预约ID
     * @return 结果
     */
    public int deleteGymAppointmentById(Long id);
}
